//
//  FileModel.m
//  VoiceMusic
//
//  Created by dllo on 15/10/24.
//  Copyright © 2015年 zhangdeyu. All rights reserved.
//

#import "FileModel.h"

@implementation FileModel

- (instancetype)initWithCoder:(NSCoder *)aDecoder{
    self = [super init];
    if(self){
        self.fileName = [aDecoder decodeObjectForKey:@"1"];
        self.fileURL = [aDecoder decodeObjectForKey:@"2"];
        self.sing = [aDecoder decodeObjectForKey:@"3"];
    }
    return self;
    
}
- (void)encodeWithCoder:(NSCoder *)aCoder{
    
    [aCoder encodeObject:self.fileName forKey:@"1"];
    [aCoder encodeObject:self.fileURL forKey:@"2"];
    [aCoder encodeObject:self.sing forKey:@"3"];
    
}

@end
